package com.fuhao.member.service.impl;

import org.springframework.context.support.ClassPathXmlApplicationContext;

import com.fuhao.service.OrderInterace;

public class GetOrder {

	public static void main(String[] args) {
		ClassPathXmlApplicationContext context = new ClassPathXmlApplicationContext("provider.xml");
		context.start();
		System.out.println("会员服务开始调用接口");
		OrderInterace order = (OrderInterace) context.getBean("orderService");
		String order2 = order.getOrder();
		System.out.println("调用结束：result："+order2);
	}
}
